import request from "@/utils/request";
// 获取所有订单数据列表
const Get_AllOrdersList = (params) =>
  request({ method: "get", url: "orders", params });
//   获取单个订单信息
const Get_OneOrderData = (id)=>request({method:'get',url:`orders/${id}`});
//   修改订单信息
const Update_OneOrderData = (req)=>request(req);
// 获取地址
const Get_OrderAddress = ()=>request({method:'get',url:'kuaidi/1106975712662'})
export { Get_AllOrdersList,Get_OneOrderData,Update_OneOrderData,Get_OrderAddress };
